# @Time  : 2021/7/30 17:20
# @Author: zhanfengzhen
# @Email : zhanfengzhen@126.com
# @File  : main_page.py
# !/usr/bin/env python
# -*- coding: UTF-8 -*-
from appium.webdriver import webdriver
from appium.webdriver.webdriver import WebDriver

from hogwarts.HogwartsHomework.appWork2.po.contact_page import ContactPage


#企业微信主页面
class MainPage():
    #将上个页面的driver传递过来
    def __init__(self, driver:WebDriver):
        self.driver = driver
    #前往通讯录页面
    def goto_contact(self):

        return ContactPage()